package io;

public class Animal implements ByteSerializable {

   private int age;
   private int name;
   
   public Animal(int age, int name) {
      this.age = age;
      this.name = name;
   }

   @Override
   public Object[] getConstructorObject() {
      return new Object[] {age, name};
   }

   @Override
   public String toString() {
      return "Animal [age=" + age + ", name=" + name + "]";
   }

}
